import java.awt.Point;

public class FixedPointMain {
	public static void main(String[] args){
		FixedPoint fp = new FixedPoint(3,4);
		System.out.println(fp.getX());
		Point loc = fp.getLocation();
		loc.x = 5;
		System.out.println(fp.getX());

		Point p = new Point(3,4);
		FixedPoint fp1 = new FixedPoint(p);
		System.out.println(fp.getX());
		p.x = 5;
		System.out.println(fp.getX());
	}
}
